package com.lmh.system.domain.sysuser;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lmh.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@TableName("tb_sys_user")
@EqualsAndHashCode(callSuper = true)
@Data
public class SysUser extends BaseEntity {
    //雪花算法生成唯一ID
    @TableId(value = "user_id",type = IdType.ASSIGN_ID)
    private Long UserId;
    private String UserAccount;
    private String password;
    private String nickName;
}
